package com.alinesno.cloud.monitor.agent.aspect.annotation;

import com.alinesno.cloud.monitor.agent.tool.Constants ;

/**
 * 监控类型
 * @author WeiXiaoJin
 * @since 2019年12月13日 下午9:06:22
 */
public enum WatcherEnums {
	
	
	NONE("none" , "放弃") , 
	BUSINESS_OPERATION( Constants.TOPIC_PREFIX+"business_operation" , "业务操作日志") , 
	BUSINESS_TRADE( Constants.TOPIC_PREFIX+"business_trade" , "业务交易日志") , 
	DATABASE_OPERATION( Constants.TOPIC_PREFIX+"database_operation", "数据库操作日志") , 
	LOGIN( Constants.TOPIC_PREFIX+"login" , "登陆日志") , 
	SYSTEM_ERROR( Constants.TOPIC_PREFIX+"system_error", "错误日志") , 
	USER_OPERATION( Constants.TOPIC_PREFIX+"user_operation", "用户操作日志") , 
	USER_QUERY( Constants.TOPIC_PREFIX+"user_query", "用户查询日志") , 
	USER_VIEW( Constants.TOPIC_PREFIX+"user_view" , "用户访问日志") , 
	; 
	
	private String label ; 
	private String topic ; 
	
	WatcherEnums(String topic , String label) {
		this.topic = topic ; 
		this.label = label ;  
	}

	public String getLabel() {
		return label;
	}

	public String getTopic() {
		return topic;
	}
	
}
